﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Model;
using IDAL;
using IBLL;
using System.Data.SqlClient;

namespace BLL
{
    public class Demobll : BLL.BaseInterface.BaseBLL<IDemodal, DemoModel>, IDemobll
    {
        public override string DataAccessfullName
        {
            get { return "Demodal"; }
        }
        public List<DemoModel> GetList(params SqlParameter[] param)
        {
            return dal.GetDemoList(param);
        }


        public bool AddDemo(DemoModel d)
        {
            return dal.DelDemo(d);
        }

        public bool DelDemo(DemoModel d)
        {
            return dal.DelDemo(d);
        }


        public bool UpdateDemo(DemoModel d)
        {
            return dal.UpdateDemo(d);
        }
    }
}
